package com.zhuiyun.project.api.message.mapper;

import com.zhuiyun.project.api.message.entity.Message;
import com.zhuiyun.project.common.mapper.BaseMapper;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * @ClassName MessageMapper
 * @Description TODO
 * @Author kdj
 * @Date 2023/6/27 14:31
 **/
@Mapper
public interface MessageMapper extends BaseMapper<Message> {
    @Insert("insert into message (type,uuid) values(3,UUID())")
    int addMessage();
}
